body{
  background: #f5f5f5;
}
.jd_layout{
  min-width: 300px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  /*搜索头部*/
  .jd_header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    z-index: 999;
    /*搜索头部的内容*/
    .jd_header_box{
      min-width: 300px;
      max-width: 640px;
      margin: 0 auto;
      position: relative;
      background: rgba(201,21,35,0.85);
      height: 40px;
      .icon_logo{
        background-position: 0 -103px;
        width: 60px;
        height: 36px;
        display: block;
        position: absolute;;
        top: 4px;
        left: 10px;
      }
    }
    form{
      width: 100%;
      height: 40px;
      padding-left: 75px;
      padding-right: 55px;
      position: relative;
      input{
        width: 100%;
        height: 30px;
        border-radius: 15px;
        margin-top: 5px;
        padding-left: 30px;
      }
      /*搜索按钮*/
      .icon_search{
        background-position: -60px -109px;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: 10px;
        left: 85px;
      }
    }
    .login{
      width: 50px;
      height: 40px;
      display: block;
      text-align: center;
      line-height: 40px;
      font-size: 15px;
      color: #fff;
      position: absolute;
      top: 0;
      right: 0;
    }
  }
  /*轮播图*/
  .jd_banner{
    width: 100%;
    overflow: hidden;
    position: relative;
    ul:first-child{
      width: 1000%;
      li{
        width: 10%;
        float: left;
        img{
          width: 100%;
          display: block;
        }
      }
    }
    ul:last-child{
      width: 118px;
      height: 6px;
      position: absolute;
      left: 50%;
      margin-left: -59px;
      bottom: 10px;
      li{
        width: 6px;
        height: 6px;
        border: 1px solid #fff;
        border-radius: 3px;
        margin-left: 10px;
        float: left;
      }
      li:first-child{
        margin-left: 0;
      }
      li.now{
        background: #fff;
      }
    }
  }
  /*导航栏*/
  .jd_nav{
    height: 150px;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 3.125%;
    background: #fff;
    padding-top: 11px;
    ul{
      width: 100%;
      li{
        width: 25%;
        height: 69px;
        float: left;
        a{
          display: block;
          width: 100%;
          height: 100%;
          text-align: center;
          img{
            display: block;
            width: 40px;
            height: 40px;
            margin: 0 auto;
            p{
              font-size: 12px;
              color:#666;
              margin-top: 6px;
            }
          }
        }
      }
    }
  }
  /*商品区块*/
  .jd_product{
    margin: 0 5px;
    /*公共使用的商品盒子*/
    .jd_product_box{
      box-shadow: 0 0 1px 1px #e0e0e0;
      margin-top: 8px;
      background: #fff;
      .product_top{
        height: 32px;
        border-bottom: 1px solid #e0e0e0;
        position: relative;
        h3{
          font-size: 15px;
          color: #666;
          padding-left: 15px;
          font-weight: inherit;
          line-height: 32px;
        }
        h3::before{
          content: "";
          display: block;
          width: 3px;
          height: 12px;
          background: #d8505c;
          position: absolute;
          top: 10px;
          left: 8px;
        }
      }
      .product_top.no_bor{
        border-bottom: none;
      }
      .product_bot{

      }
    }
    .jd_secondKill{
      .jd_secondKill_left{
        float: left;
        .sk_icon{
          background: url("../images/seckill-icon.png") no-repeat;
          background-size: 16px 20px;
          width: 16px;
          height: 20px;
          display: block;
          float: left;
          margin-left: 8px;
          margin-top: 6px;
        }
        .sk_name{
          font-size: 15px;
          color: #d8505c;
          font-weight: inherit;
          float: left;
          margin-left: 8px;
          margin-top: 6px;
        }
        .sk_time{
          float: left;
          margin-left: 8px;
          margin-top: 8px;
          .num{
            display: block;
            width: 15px;
            height: 15px;
            text-align: center;
            background: #333;
            color: #fff;
            float: left;
            line-height: 15px;
            margin-left: 3px;
          }
          .str{
            display: block;
            width: 4px;
            height: 15px;
            text-align: center;
            float: left;
            line-height: 15px;
            margin-left: 3px;
          }
        }
      }
      .jd_secondKill_right{
        float: right;
        a{
          line-height: 32px;
          margin-right: 10px;
        }
      }
      .product_bot{
        width: 100%;
        ul{
          width: 100%;
          padding: 10px 0;
          li{
            width: 33.333%;
            float: left;
            a{
              width: 100%;
              .img_box{
                width: 100%;
                border-right: 1px solid #e0e0e0;
                img{
                  width: 64%;
                  display: block;
                  margin: 0 auto;
                }
              }
              .now_price{
                color: #d8505c;
                font-size: 13px;
                text-align: center;
                margin-top: 3px;
              }
              .old_price{
                font-size: 12px;
                text-decoration: line-through;/*删除线*/
                margin-top: 3px;
                text-align: center;
                color: #888;
              }
            }
          }
          li:last-child{
            a{
              .img_box{
                border-right: none;
              }
            }
          }
        }
      }
    }
    .jd_pd{
      .product_bot{
        width: 100%;
        .p_left{
          width: 50%;
          float: left;
        }
        .p_right{
          width: 50%;
          float: right;
        }
        .b_left{
          border-left: 1px solid #e0e0e0;
        }
        .b_right{
          border-right: 1px solid #e0e0e0;
        }
        .b_bottom{
          border-bottom: 1px solid #e0e0e0;
        }
        a{
          img{
            width: 100%;
            display: block;
          }
        }
      }
    }
  }
}

















